import type { MenuResponse } from '@/services/modules';
import request from '@/utils/request';

export const mockMenu = (params?: any): Promise<R<MenuResponse[]>> => {
  return request({
    url: '/menu',
    method: 'get',
    params,
  });
};
